Skip to content

+Clean up dimensional rescaling in OBC code#138

Merged
marshallward merged 2 commits into
NOAA-GFDL:dev/gfdlfrom
Hallberg-NOAA:simplify_OBC_rescaling
Jun 8, 2022
Merged

+Clean up dimensional rescaling in OBC code#138
marshallward merged 2 commits into
NOAA-GFDL:dev/gfdlfrom
Hallberg-NOAA:simplify_OBC_rescaling

Conversation

@Hallberg-NOAA
Copy link
Copy Markdown
Member

Use the new scale argument to time_interp_external to standardize where the
dimensional rescaling occurs for the OBC code, and to use properly dimensionally
rescaled internal variables. This includes the addition of the new function
scale_factor_from_name, and there are new verticalGrid_type and unit_scale_type
arguments to initialize_segment_data. All answers are bitwise identical and
are passing dimensional consistency testing, including in Alex Bozec's Gulf of
Mexico regional configuration, but there are new arguments to public interfaces.

  Use the new scale argument to time_interp_external to standardize where the
dimensional rescaling occurs for the OBC code, and to use properly dimensionally
rescaled internal variables.  This includes the addition of the new function
scale_factor_from_name, and there are new verticalGrid_type and unit_scale_type
arguments to initialize_segment_data.  All answers are bitwise identical and
are passing dimensional consistency testing, including in Alex Bozec's Gulf of
Mexico regional configuration, but there are new arguments to public interfaces.
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 3, 2022

Codecov Report

Merging #138 (3364c29) into dev/gfdl (4288d41) will decrease coverage by 0.00%.
The diff coverage is 26.00%.

@@             Coverage Diff              @@
##           dev/gfdl     #138      +/-   ##
============================================
- Coverage     33.45%   33.45%   -0.01%     
============================================
  Files           262      262              
  Lines         71413    71436      +23     
  Branches      13336    13340       +4     
============================================
+ Hits          23891    23896       +5     
- Misses        43048    43066      +18     
  Partials       4474     4474              
Impacted Files Coverage Δ
src/user/DOME_initialization.F90 0.00% <0.00%> (ø)
src/core/MOM_open_boundary.F90 22.99% <25.00%> (-0.02%) ⬇️
src/initialization/MOM_state_initialization.F90 17.10% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4288d41...3364c29. Read the comment docs.

@marshallward
Copy link
Copy Markdown
Member

Gaea regression: https://gitlab.gfdl.noaa.gov/ogrp/MOM6/-/pipelines/15758 ✔️

@marshallward marshallward merged commit 328c440 into NOAA-GFDL:dev/gfdl Jun 8, 2022
@Hallberg-NOAA Hallberg-NOAA deleted the simplify_OBC_rescaling branch July 16, 2022 09:42
marshallward pushed a commit that referenced this pull request Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants